import axios from 'axios'
import BaseApi from '@/api/BaseApi'
import config from '@/config'

/**
 * 业务通道段接口
 */
export default class extends BaseApi {
  /**
     * 获取基础路径
     *
     * @return 基础路径
     */
  static basePath() {
    return (config.services.oen || '') + '/bizSegment'
  }

  static channelList(params) {
    return axios.get(`${this.basePath()}/channelList`, { params })
  }
}
